package Month07.day31;

import java.io.File;
import java.io.IOException;

public class DemoFile {
    public static void main(String[] args) throws IOException {
        File file = new File("D:\\绝对路径\\as.txt");
        boolean flag = file.createNewFile();
        System.out.println(flag);
        File file1 = new File("D:\\Idea-Project\\basic\\basic\\src\\Month07\\day31\\sds.txt");
        boolean flog1 = file1.createNewFile();
        System.out.println(flog1);
        File file2 = new File("D:\\绝对路径\\as\\ad\\ds\\gf\\sad\\a");
        boolean b = file2.mkdirs();
        System.out.println(b);
        boolean b1 = file2.delete();
        System.out.println(b1);
    }
}
